Add script to support per-line @suppress annotations in Phan
[lhc/web/wiklou.git] / languages / Language.php
index 2e4ef89..3eb6546 100644 (file)
@@ -466,6 +466,7 @@ class Language {
                        $this->namespaceNames = self::$dataCache->getItem( $this->mCode, 'namespaceNames' );
                        $validNamespaces = MWNamespace::getCanonicalNamespaces();
 
+                       /** @suppress PhanTypeInvalidLeftOperand */
                        $this->namespaceNames = $wgExtraNamespaces + $this->namespaceNames + $validNamespaces;
 
                        $this->namespaceNames[NS_PROJECT] = $wgMetaNamespace;